package com.clothing.bean;

import com.clothing.entity.BlackList;

import java.util.Date;

/**
 * @ClassName: BlackListJson
 * @Description: 黑名单JSON类
 * @author: Charles
 * @date: 2018/7/12 9:50
 * @version: 1.0
 */
public class BlackListJson {
    private Long id;
    private String nickname;
    private BlackList.Status status;
    private Long invalidDate;
    private Long modifyDate;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public BlackList.Status getStatus() {
        return status;
    }

    public void setStatus(BlackList.Status status) {
        this.status = status;
    }

    public Long getInvalidDate() {
        return invalidDate;
    }

    public void setInvalidDate(Date invalidDate) {
        if (null != invalidDate) {
            this.invalidDate = invalidDate.getTime();
        }
    }

    public Long getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        if (null != modifyDate) {
            this.modifyDate = modifyDate.getTime();
        }
    }
}
